import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import {apiGet,apiPost} from '../src/api/api.js'
Vue.prototype.$apiGet  = apiGet
Vue.prototype.$apiPost = apiPost

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import MD5 from "js-md5"
Vue.prototype.md5 = MD5

// import {Base64} from 'js-base64'
// Vue.use(Base64);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
